package com.itheima.test2;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("zhangsan","23");
        Student s2 = new Student("zhangsan","23");

        System.out.println(s1==s2);

        boolean result = s1.equals(s2);
        System.out.println(result);
    }
}
